#ifndef DLG_ADDUSER_H
#define DLG_ADDUSER_H

#include <QDialog>
#include "supsql.h"

namespace Ui {
class dlg_adduser;
}

class dlg_adduser : public QDialog
{
    Q_OBJECT

public:
    explicit dlg_adduser(QWidget *parent = 0);
    ~dlg_adduser();

    void setwType(bool isAdd,UserInfo info={});
private slots:
    void on_btnExit_clicked();

    void on_btnOk_clicked();

private:
    Ui::dlg_adduser *ui;
    bool w_isAdd;
    UserInfo w_info;
};

#endif // DLG_ADDUSER_H
